package com.school.graduation.model;

import java.io.Serializable;

import cn.bmob.v3.BmobObject;
import cn.bmob.v3.datatype.BmobGeoPoint;

/**
 * 学校信息
 * Created by heyiyong on 2016/12/20.
 */

public class School extends BmobObject implements Serializable{
    private int uuid;
    private String schoolName;
//    private double longitude; //经度
//    private double latitude; //纬度
    private BmobGeoPoint geoPoint; //经纬度信息，方便通过Bmob的API查询

    public BmobGeoPoint getGeoPoint() {
        return geoPoint;
    }

    public void setGeoPoint(BmobGeoPoint geoPoint) {
        this.geoPoint = geoPoint;
    }

    public String getSchoolName() {
        return schoolName;
    }

    public void setSchoolName(String schoolName) {
        this.schoolName = schoolName;
    }

    public int getUuid() {
        return uuid;
    }

    public void setUuid(int uuid) {
        this.uuid = uuid;
    }

    @Override
    public String toString() {
        return "School{" +
                "uuid=" + uuid +
                ", schoolName='" + schoolName + '\'' +
                ", geoPoint=" + geoPoint +
                '}';
    }
}
